package com.willowandcreek.addongenie.google;
import com.google.gdata.client.*;
//import com.google.gdata.client.calendar.*;
import com.google.gdata.data.*;
import com.google.gdata.data.acl.*;
//import com.google.gdata.data.calendar.*;
import com.google.gdata.data.extensions.*;
import com.google.gdata.util.*;

import java.net.*;
import java.io.*;


import java.util.logging.Logger;

public class CalendarTest {
	private static final Logger LOGGER = Logger.getLogger(CalendarTest.class
			.getName());
	

    public static void main(String[] args) throws Exception {
//        CalendarService myService = new CalendarService("willowandcreek-addongenie-1.0");
//        myService.setUserCredentials("madhan.dennis@gmail.com", "pistachio");
//            
//        URL feedUrl = new URL("http://www.google.com/calendar/feeds/default/allcalendars/full");
//        CalendarFeed resultFeed = myService.getFeed(feedUrl, CalendarFeed.class);
//            
//        System.out.println("Your calendars:");
//        System.out.println();
//        
//        for (int i = 0; i < resultFeed.getEntries().size(); i++) {
//          CalendarEntry entry = resultFeed.getEntries().get(i);
//          System.out.println("\t" + entry.getTitle().getPlainText());
//        }
//    
    }	
	
}
